package com.lingang.framework.config;

import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler;
import com.lingang.framework.mybatis.DefaultDBFieldHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Mybatis支持*匹配扫描包
 * 
 * @author alex
 */
@Configuration
public class MyBatisConfig
{
    @Bean
    public MetaObjectHandler defaultMetaObjectHandler() {
        return new DefaultDBFieldHandler();
    }
}